<html lang="zh-CN">
<meta charset="utf-8" />
<head>
    <title>登录</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <style type="text/css">
        body {
            padding-top: 70px;
        }
        
        .col-center-block {
            float: none;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
    </style>
</head>

<script src="js/core.js"></script>
<body>
    <div class="container">
        <div class="row clearfix">
            <div class="col-md-6 column col-center-block">
                <div class="panel-group" id="panel-1">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <p class="panel-title" data-toggle="collapse" data-parent="#panel-1">登录 </p> 
                        </div>
                        <div id="panel-element-1" class="panel-collapse collapse in">
                            <div class="panel-body">
                                <form class="form-horizontal" role="form">
                                    <div class="form-group">
                                        <label for="loginname" class="col-md-2 control-label">用户名</label>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control" name="loginname" id="loginname" placeholder="请输入用户名">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="loginpsw" class="col-md-2 control-label">密 码</label>
                                        <div class="col-md-6">
                                            <input type="password" class="form-control" name="loginpsw" id="loginpsw" placeholder="请输入密码">
                                        </div>
                                    </div>
                                </form>
                                <div class="form-group">
                                    <div class="col-md-offset-2 col-md-6">
                                        <button type="submit" onclick="login()" class="btn btn-default">登录</button>
                                        <font id="loginerror" color="red" class="text-right"></font>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>